Solving 10385 - Duathlon (Ternary search)
[andmenj-acm.git] / 10970 - Big Chocolate / p10970.cpp
blob1fb779c592c064adf58c5213101d6826d6605b50
1 #include <iostream>
2 using namespace std;
4 int main(){
5 int n, m;
6 while (cin >> n >> m){
7 cout << (n*m)-1<<endl;
9 return 0;